<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
    var obj = {
      name: '叶建新',
      age: 18,
      sex: '男'
    }
    function fn (x,y) {
      console.log(x,y,this.name,this.age,this.sex);
    }
    fn.apply(obj,[1,2]);
  </script>
</body>
</html>
